/<template>
  <div>
    <van-grid :column-num="5">
      <van-grid-item
        v-for="value in list"
        :key="value.id"
        :icon="value.img"
        :text="value.title"
      />
    </van-grid>
  </div>
</template>

<script>
import Mock from 'mockjs';
const data=Mock.mock({
  "list|10":[{
    img:'@image(50x50,@color)',
    title:'@ctitle(2,4)',
    id:'@id'
  }]
})
export default {
  data(){
    return{
      list:data.list
    }
  }
};
</script>

<style>
</style>